package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 派出所对象 police_station
 * 
 * @author ruoyi
 * @date 2024-10-15
 */
public class PoliceStation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 派出所编号 */
    private Long pid;

    /** 派出所名称 */
    @Excel(name = "派出所名称")
    private String name;

    /** 警局编号 */
    @Excel(name = "警局编号")
    private String pNum;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setpNum(String pNum) 
    {
        this.pNum = pNum;
    }

    public String getpNum() 
    {
        return pNum;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pid", getPid())
            .append("name", getName())
            .append("pNum", getpNum())
            .append("address", getAddress())
            .append("createTime", getCreateTime())
            .toString();
    }
}
